package com.newland.zxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/**
 * @author : zhangxuyuan
 * @Project: springcloudoauth2
 * @Package com.newland.zxy
 * @date Date : 2021年02月05日 9:18
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableAuthorizationServer
public class OauthServer {

    public static void main(String[] args) {
        SpringApplication.run(OauthServer.class,args);
    }
}
